Package com.cisco.pt.ipc.events
Class HostPortEventRegistry
java.lang.Object
com.cisco.pt.ipc.events.IPCEventRegistry
com.cisco.pt.ipc.events.HostPortEventRegistry
An event for the IPC's HostPortEventRegistry values
- Author:
- packettracerexapps@external.cisco.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Set<HostPortEventListener>protected Map<String,Set<HostPortEventListener>> Fields inherited from class com.cisco.pt.ipc.events.IPCEventRegistry
session, WILDCARD_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(HostPortEventListener listener) voidaddListener(HostPortEventListener listener, HostPort objClass) voidaddListenerFiltered(HostPortEventListener listener, List<String> events) voidaddSpecificListenerFiltered(HostPortEventListener listener, HostPort objClass, List<String> events) voidprocessEvent(IPCEventLTV event) voidremoveListener(HostPortEventListener listener) voidremoveListener(HostPortEventListener listener, HostPort objClass) voidremoveListenerFiltered(HostPortEventListener listener, List<String> events) voidremoveSpecificListenerFiltered(HostPortEventListener listener, HostPort objClass, List<String> events) Methods inherited from class com.cisco.pt.ipc.events.IPCEventRegistry
deregister, deregister, register, register
-
Field Details
-
globalListeners
-
specificObjectListeners
-
-
Constructor Details
-
HostPortEventRegistry
-
-
Method Details
-
getClassName
- Specified by:
getClassNamein classIPCEventRegistry
-
processEvent
- Specified by:
processEventin classIPCEventRegistry- Throws:
Exception
-
addListenerFiltered
public void addListenerFiltered(HostPortEventListener listener, List<String> events) throws IOException - Throws:
IOException
-
addSpecificListenerFiltered
public void addSpecificListenerFiltered(HostPortEventListener listener, HostPort objClass, List<String> events) throws IOException - Throws:
IOException
-
removeListenerFiltered
public void removeListenerFiltered(HostPortEventListener listener, List<String> events) throws IOException - Throws:
IOException
-
removeSpecificListenerFiltered
public void removeSpecificListenerFiltered(HostPortEventListener listener, HostPort objClass, List<String> events) throws IOException - Throws:
IOException
-
addListener
- Throws:
IOException
-
addListener
- Throws:
IOException
-
removeListener
- Throws:
IOException
-
removeListener
- Throws:
IOException
-